package com.maket.scxx.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.List;

/**
 * 工艺路线对象 gylx_process_route
 * 
 * @author ruoyi
 * @date 2024-07-01
 */
public class GylxProcessRoute extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工艺路线编码 */
    private String gyroadCode;

    /** 工艺路线名称 */
    @Excel(name = "工艺路线名称")
    private String gyroadName;

    /** 工艺路线分类编码 */
    @Excel(name = "工艺路线分类编码")
    private String gyroadType;

    /** 工艺路线版本 */
    @Excel(name = "工艺路线版本")
    private String gyroadVersion;

    /** 产品编码 */
    @Excel(name = "产品编码")
    private String cpCode;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private Long isUse;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Long isDelete;

    private List<GxProcess> gxs;

    public List<GxProcess> getGxs() {
        return gxs;
    }

    public void setGxs(List<GxProcess> gxs) {
        this.gxs = gxs;
    }

    public void setGyroadCode(String gyroadCode)
    {
        this.gyroadCode = gyroadCode;
    }

    public String getGyroadCode() 
    {
        return gyroadCode;
    }
    public void setGyroadName(String gyroadName) 
    {
        this.gyroadName = gyroadName;
    }

    public String getGyroadName() 
    {
        return gyroadName;
    }
    public void setGyroadType(String gyroadType) 
    {
        this.gyroadType = gyroadType;
    }

    public String getGyroadType() 
    {
        return gyroadType;
    }
    public void setGyroadVersion(String gyroadVersion) 
    {
        this.gyroadVersion = gyroadVersion;
    }

    public String getGyroadVersion() 
    {
        return gyroadVersion;
    }
    public void setCpCode(String cpCode) 
    {
        this.cpCode = cpCode;
    }

    public String getCpCode() 
    {
        return cpCode;
    }
    public void setIsUse(Long isUse) 
    {
        this.isUse = isUse;
    }

    public Long getIsUse() 
    {
        return isUse;
    }
    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("gyroadCode", getGyroadCode())
            .append("gyroadName", getGyroadName())
            .append("gyroadType", getGyroadType())
            .append("gyroadVersion", getGyroadVersion())
            .append("cpCode", getCpCode())
            .append("isUse", getIsUse())
            .append("isDelete", getIsDelete())
                .append("gxs", getGxs())
            .toString();
    }
}
